﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Boggle
{
    /// <summary>
    /// Represents a playing 'board' for a game of Boggle.
    /// </summary>
    public interface IBoggleGrid
    {
        /// <summary>
        /// Determines whether or not the supplied 'word' is contained in the grid.
        /// </summary>
        /// <param name="word">The word to check.</param>
        /// <returns>A list of the dice making up the word if it exists, null otherwise.</returns>
        List<Die> ContainsWord(String word);

        /// <summary>
        /// Rolls the dice on the board, and shuffles them.
        /// </summary>
        void Shuffle();

        /// <summary>
        /// Gets a list of the dice used in this board.
        /// </summary>
        List<Die> Dice { get; }
    }
}
